package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.util.Date;

public class RunfastAgentaccounts implements Serializable {
    private Integer id;

    private String accounts;

    private Integer agentid;

    private String agentname;

    private String byroles;

    private Date createtime;

    private String mobile;

    private String name;

    private String password;

    private String bdpushchannelid;

    private String bdpushuserid;

    private Integer bptype;

    private String cityid;

    private String cityname;

    private String countyid;

    private String countyname;

    private Integer aid;

    private String area;

    private String areaid;

    private Integer cid;

    private Integer pid;

    private String province;

    private String provinceid;

    private Integer tid;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastAgentaccounts withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccounts() {
        return accounts;
    }

    public RunfastAgentaccounts withAccounts(String accounts) {
        this.setAccounts(accounts);
        return this;
    }

    public void setAccounts(String accounts) {
        this.accounts = accounts == null ? null : accounts.trim();
    }

    public Integer getAgentid() {
        return agentid;
    }

    public RunfastAgentaccounts withAgentid(Integer agentid) {
        this.setAgentid(agentid);
        return this;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public RunfastAgentaccounts withAgentname(String agentname) {
        this.setAgentname(agentname);
        return this;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    public String getByroles() {
        return byroles;
    }

    public RunfastAgentaccounts withByroles(String byroles) {
        this.setByroles(byroles);
        return this;
    }

    public void setByroles(String byroles) {
        this.byroles = byroles == null ? null : byroles.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastAgentaccounts withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getMobile() {
        return mobile;
    }

    public RunfastAgentaccounts withMobile(String mobile) {
        this.setMobile(mobile);
        return this;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getName() {
        return name;
    }

    public RunfastAgentaccounts withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public RunfastAgentaccounts withPassword(String password) {
        this.setPassword(password);
        return this;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getBdpushchannelid() {
        return bdpushchannelid;
    }

    public RunfastAgentaccounts withBdpushchannelid(String bdpushchannelid) {
        this.setBdpushchannelid(bdpushchannelid);
        return this;
    }

    public void setBdpushchannelid(String bdpushchannelid) {
        this.bdpushchannelid = bdpushchannelid == null ? null : bdpushchannelid.trim();
    }

    public String getBdpushuserid() {
        return bdpushuserid;
    }

    public RunfastAgentaccounts withBdpushuserid(String bdpushuserid) {
        this.setBdpushuserid(bdpushuserid);
        return this;
    }

    public void setBdpushuserid(String bdpushuserid) {
        this.bdpushuserid = bdpushuserid == null ? null : bdpushuserid.trim();
    }

    public Integer getBptype() {
        return bptype;
    }

    public RunfastAgentaccounts withBptype(Integer bptype) {
        this.setBptype(bptype);
        return this;
    }

    public void setBptype(Integer bptype) {
        this.bptype = bptype;
    }

    public String getCityid() {
        return cityid;
    }

    public RunfastAgentaccounts withCityid(String cityid) {
        this.setCityid(cityid);
        return this;
    }

    public void setCityid(String cityid) {
        this.cityid = cityid == null ? null : cityid.trim();
    }

    public String getCityname() {
        return cityname;
    }

    public RunfastAgentaccounts withCityname(String cityname) {
        this.setCityname(cityname);
        return this;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname == null ? null : cityname.trim();
    }

    public String getCountyid() {
        return countyid;
    }

    public RunfastAgentaccounts withCountyid(String countyid) {
        this.setCountyid(countyid);
        return this;
    }

    public void setCountyid(String countyid) {
        this.countyid = countyid == null ? null : countyid.trim();
    }

    public String getCountyname() {
        return countyname;
    }

    public RunfastAgentaccounts withCountyname(String countyname) {
        this.setCountyname(countyname);
        return this;
    }

    public void setCountyname(String countyname) {
        this.countyname = countyname == null ? null : countyname.trim();
    }

    public Integer getAid() {
        return aid;
    }

    public RunfastAgentaccounts withAid(Integer aid) {
        this.setAid(aid);
        return this;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getArea() {
        return area;
    }

    public RunfastAgentaccounts withArea(String area) {
        this.setArea(area);
        return this;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public String getAreaid() {
        return areaid;
    }

    public RunfastAgentaccounts withAreaid(String areaid) {
        this.setAreaid(areaid);
        return this;
    }

    public void setAreaid(String areaid) {
        this.areaid = areaid == null ? null : areaid.trim();
    }

    public Integer getCid() {
        return cid;
    }

    public RunfastAgentaccounts withCid(Integer cid) {
        this.setCid(cid);
        return this;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getPid() {
        return pid;
    }

    public RunfastAgentaccounts withPid(Integer pid) {
        this.setPid(pid);
        return this;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getProvince() {
        return province;
    }

    public RunfastAgentaccounts withProvince(String province) {
        this.setProvince(province);
        return this;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getProvinceid() {
        return provinceid;
    }

    public RunfastAgentaccounts withProvinceid(String provinceid) {
        this.setProvinceid(provinceid);
        return this;
    }

    public void setProvinceid(String provinceid) {
        this.provinceid = provinceid == null ? null : provinceid.trim();
    }

    public Integer getTid() {
        return tid;
    }

    public RunfastAgentaccounts withTid(Integer tid) {
        this.setTid(tid);
        return this;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", accounts=").append(accounts);
        sb.append(", agentid=").append(agentid);
        sb.append(", agentname=").append(agentname);
        sb.append(", byroles=").append(byroles);
        sb.append(", createtime=").append(createtime);
        sb.append(", mobile=").append(mobile);
        sb.append(", name=").append(name);
        sb.append(", password=").append(password);
        sb.append(", bdpushchannelid=").append(bdpushchannelid);
        sb.append(", bdpushuserid=").append(bdpushuserid);
        sb.append(", bptype=").append(bptype);
        sb.append(", cityid=").append(cityid);
        sb.append(", cityname=").append(cityname);
        sb.append(", countyid=").append(countyid);
        sb.append(", countyname=").append(countyname);
        sb.append(", aid=").append(aid);
        sb.append(", area=").append(area);
        sb.append(", areaid=").append(areaid);
        sb.append(", cid=").append(cid);
        sb.append(", pid=").append(pid);
        sb.append(", province=").append(province);
        sb.append(", provinceid=").append(provinceid);
        sb.append(", tid=").append(tid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}